package com.dan.service.impl;

import com.dan.pojo.Article;
import com.dan.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author danqihao
 */
@Service
public class ArticleServiceImpl implements ArticleService {

    @Autowired
    private ArticleService articleService;

    @Override
    public List<Article> list(Integer pageNum, Integer pageSize, Integer userId) {
        return articleService.list(pageNum, pageSize, userId);
    }
    
    @Override
    public Article findById(int id) {
        return null;
    }

    @Override
    public void save(Article article) {
        articleService.save(article);
    }

    @Override
    public void deleteById(int id) {

    }
}
